package com.blue.comments.mapper;

import com.litblue.starter.pojo.comments.domain.TotalComments;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Optional;

public interface CommentsLikeRepository extends MongoRepository<TotalComments,String> {
    Optional<TotalComments> queryByCommentIdAndUserId(String CommentsId,String UserID);

    Integer countByCommentId (String commentId);


}
